<div class="SipeiMain_r fr">
    <h2 class="clearfix fonts_18 height45 fontc_444"><?php echo $this->title; ?></h2>
    <ul class="clearfix back_bgf border_3 border_c pr30 pl30 pt20 pb20 height32 fontc_666">
        <li class="fl pt10 pr30 pb10">科目代码：<input type="text" value="河北省" class="pt6 pr9 pb6 pl9 border_3 border_c fontc_666 w100" /></li>
        <li class="fl pt10 pr30 pb10">科目名称：<input type="text" value="河北省" class="pt6 pr9 pb6 pl9 border_3 border_c fontc_666 w100" /></li>
        <li class="fl pt10 pr30 pb10"><span class="fl pr8">是否生效</span><input type="checkbox" checked="checked" class="fl mt9" /></li>
        <li class="fr pt10 pb10"><input type="button" value="查询" class="b_a_n border_3 back_bgfb w80 height32 fontc_FFF fonts_12" /></li>
    </ul>
    <div class="clearfix back_bgf border_c mt15 pt20 pb20">
        <div class="clearfix pt10 pb10 pl30">
            <input type="button" value="导出" class="b_a_n border_3 back_bgfb w80 height32 fontc_FFF fonts_12 mr10" />
            <!--<input type="button" value="查询" class="b_a_n border_3 back_bgfb w80 height32 fontc_FFF fonts_12" />-->
        </div>
        <table class="height40">
            <thead class="back_bgf5 fontc_666">
                <tr>
                    <th width="139" align="center" class="m_hr_t m_hr_b">用户名</th>
                    <th width="230" align="center" class="m_hr_t m_hr_b pl30">用户角色</th>
                    <th width="230" align="center" class="m_hr_t m_hr_b">真实姓名</th>
                    <th width="440" align="left" class="m_hr_t m_hr_b pl20">用户邮箱</th>
                    <th width="230" align="center" class="m_hr_t m_hr_b">最后登陆ip</th>
                    <th width="230" align="center" class="m_hr_t m_hr_b">最后登陆时间</th>
                    <th width="146" align="center" class="m_hr_t m_hr_b">操作</th>
                </tr>
            </thead>
            <tbody class="fontc_444">
                <?php if(!empty($data)): ?>
                <?php   foreach($data as $value): ?>
                <tr>
                    <td align="center" class="m_hr_b"><?php echo $value['username']; ?></td>
                    <td align="center" class="m_hr_b pl30"><?php echo $roleObject[$value['role_id']]['role_name']; ?></td>
                    <td align="center" class="m_hr_b"><?php echo $value['realname']; ?></td>
                    <td align="left" class="m_hr_b pl20"><?php echo $value['email']; ?></td>
                    <td align="center" class="m_hr_b"><?php echo $value['lastlogin_ip']; ?></td>
                    <td align="center" class="m_hr_b"><?php echo date('Y.m.d',$value['lastlogin_time']); ?></td>
                    <td align="center" class="m_hr_b">
                        <a href="<?php echo $this->createUrl('/user/default/update',array('uid'=>$value['id'])); ?>" title="编辑"><img src="/themes/default/images/Sipei/edit.png" class="pr15" /></a>
                        <a href="javascript:;" title="删除"><img src="/themes/default/images/Sipei/delate.png" /></a>
                    </td>
                </tr>
                <?php   endforeach; ?>
                <?php else: ?>
                <tr><td colspan="8" align="center" class="m_hr_b">暂时没有用户数据</td></tr>
                <?php endif; ?>
            </tbody>
        </table>
        <ul class="cleatfix pt15 pr30 pb15 pl30 height32">
            <li class="fl fontc_999 col2">共有9笔记录，当前1-9笔记录</li>
            <li class="fr col2">
                <a href="javascript:;" class="fr ml18"><img src="/themes/default/images/Sipei/end.png" /></a>
                <a href="javascript:;" class="fr ml18"><img src="/themes/default/images/Sipei/next.png" /></a>
                <a href="javascript:;" class="fr ml18"><img src="/themes/default/images/Sipei/last.png" /></a>
                <a href="javascript:;" class="fr ml18"><img src="/themes/default/images/Sipei/home.png" /></a>
            </li>
        </ul>
    </div>
</div>